package sspatcher.entity;

import sspatcher.PatchRuleTypeEnum;

public class PatchRuleEntity {
    /**
     * 类型 {@link PatchRuleTypeEnum}
     */
    private PatchRuleTypeEnum typeEnum;
    /**
     * 开始位置
     */
    private int index;
    /**
     * 补丁数据
     */
    private String data;
    /**
     * 保留字段，尚未使用
     */
    private String extern;

    public PatchRuleTypeEnum getTypeEnum() {
        return typeEnum;
    }

    public void setTypeEnum(PatchRuleTypeEnum typeEnum) {
        this.typeEnum = typeEnum;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getExtern() {
        return extern;
    }

    public void setExtern(String extern) {
        this.extern = extern;
    }
}
